Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONSOLE-3735: React router migration #13216

Merged
merged 1 commit into from Dec 5, 2023

Conversation

jhadvig
Copy link
Member

@jhadvig jhadvig commented Oct 5, 2023

Replacement of #13094

@jhadvig jhadvig changed the title Console 3735 - React router migration CONSOLE-3735: React router migration Oct 5, 2023
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the component/ceph Related to ceph-storage-plugin label Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/core Related to console core functionality approved Indicates a PR has been approved by an approver from all required OWNERS files. component/dashboard Related to dashboard labels Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/dev-console Related to dev-console component/gitops Related to gitops-plugin labels Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/helm Related to helm-plugin component/knative Related to knative-plugin labels Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the component/kubevirt Related to kubevirt-plugin label Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/lso Related to local-storage-operator-plugin component/metal3 Related to metal3-plugin labels Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/monitoring Related to monitoring component/network-attachment-definition Related to network-attachment-definition labels Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/olm Related to OLM component/pipelines Related to pipelines-plugin labels Oct 5, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 5, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added component/sdk Related to console-plugin-sdk component/shared Related to console-shared labels Oct 5, 2023
@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Dec 1, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Dec 1, 2023

@jhadvig: This pull request references CONSOLE-3735 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Replacement of #13094

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2155d74 and 2 for PR HEAD 4e169d3 in total

@jhadvig
Copy link
Member Author

jhadvig commented Dec 1, 2023

/test e2e-gcp-console

@jhadvig
Copy link
Member Author

jhadvig commented Dec 1, 2023

Flake

level=info msg=Cluster operator monitoring Progressing is True with RollOutInProgress: Rolling out the stack.
level=info msg=Cluster operator network ManagementStateDegraded is False with : 
level=info msg=Cluster operator storage Progressing is True with GCPPDCSIDriverOperatorCR_GCPPDDriverControllerServiceController_Deploying: GCPPDCSIDriverOperatorCRProgressing: GCPPDDriverControllerServiceControllerProgressing: Waiting for Deployment to deploy pods
level=error msg=Cluster operator storage Available is False with GCPPDCSIDriverOperatorCR_GCPPDDriverControllerServiceController_Deploying: GCPPDCSIDriverOperatorCRAvailable: GCPPDDriverControllerServiceControllerAvailable: Waiting for Deployment
level=error msg=Cluster initialization failed because one or more operators are not functioning properly.
level=error msg=The cluster should be accessible for troubleshooting as detailed in the documentation linked below,
level=error msg=https://docs.openshift.com/container-platform/latest/support/troubleshooting/troubleshooting-installations.html
level=error msg=The 'wait-for install-complete' subcommand can then be used to continue the installation
level=error msg=failed to initialize the cluster: Cluster operators monitoring, storage are not available
Installer exit with code 6

/retest

@rhamilto
Copy link
Member

rhamilto commented Dec 1, 2023

/retest

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD e762b55 and 1 for PR HEAD 4e169d3 in total

@rhamilto
Copy link
Member

rhamilto commented Dec 1, 2023

@jhadvig, rebase required.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 1, 2023
…strategy

Completes steps 1, 4, and 5 of react-router migration strategy. Also addresses useParams and useLocation hooks from step 2 of migration strategy.
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2023
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 4, 2023
@jerolimov
Copy link
Member

🫣

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2023
Copy link
Contributor

openshift-ci bot commented Dec 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jerolimov, jhadvig, rhamilto

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rhamilto
Copy link
Member

rhamilto commented Dec 4, 2023

/retest

beforeEach(() => {
wrapper = shallow(<AddBasicAuthPage />);
wrapper = mount(
<Provider store={store}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just seeing this. I think it would have been better to set up a reusable test render function for this instead of repeating, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we could do it as a follow up 👍

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 1935fa0 and 2 for PR HEAD 27bf86d in total

@jhadvig
Copy link
Member Author

jhadvig commented Dec 4, 2023

   Spec                                              Tests  Passing  Failing  Pending  Skipped  

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✖ knative-ci.feature 0ms - - 1 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 1 failed (100%) 0ms - - 1 - -

@jhadvig
Copy link
Member Author

jhadvig commented Dec 4, 2023

/retest

@jhadvig
Copy link
Member Author

jhadvig commented Dec 4, 2023

  Logging in as kubeadmin
      Installing operator: "Red Hat OpenShift Serverless"
      Operator Red Hat OpenShift Serverless was not yet installed.
      Performing Serverless post installation steps
  1) "before all" hook for "Create knative workload using Container image with extrenal registry on Add page: KN-05-TC05 (example #1)"
  0 passing (2m)
  1 failing
  1) Perform actions on knative service and revision
       "before all" hook for "Create knative workload using Container image with extrenal registry on Add page: KN-05-TC05 (example #1)":
     AssertionError: Timed out retrying after 40000ms: Expected to find element: `[data-test="dropdown-menu-item-link"]`, but never found it. Queried from:
              > cy.get([data-test="namespace-dropdown-menu"], )
Because this error occurred during a `before all` hook we are skipping all of the remaining tests.
Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
      at Object.selectProject (webpack:////go/src/github.com/openshift/console/frontend/packages/dev-console/integration-tests/support/pages/app.ts:365:7)
      at createKnativeServing (webpack:////go/src/github.com/openshift/console/frontend/packages/dev-console/integration-tests/support/pages/functions/knativeSubscriptions.ts:9:19)
      at performPostInstallationSteps (webpack:////go/src/github.com/openshift/console/frontend/packages/dev-console/integration-tests/support/pages/functions/installOperatorOnCluster.ts:176:26)
      at verifyAndInstallOperator (webpack:////go/src/github.com/openshift/console/frontend/packages/dev-console/integration-tests/support/pages/functions/installOperatorOnCluster.ts:221:2)
      at verifyAndInstallKnativeOperator (webpack:////go/src/github.com/openshift/console/frontend/packages/dev-console/integration-tests/support/pages/functions/installOperatorOnCluster.ts:231:27)
      at Context.eval (webpack:///./support/commands/hooks.ts:7:33)

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD f829751 and 1 for PR HEAD 27bf86d in total

@jhadvig
Copy link
Member Author

jhadvig commented Dec 5, 2023

Overriding just in case the test would want to fail again, cause all the jobs passed

/override ci/prow/e2e-gcp-console

Copy link
Contributor

openshift-ci bot commented Dec 5, 2023

@jhadvig: Overrode contexts on behalf of jhadvig: ci/prow/e2e-gcp-console

In response to this:

Overriding just in case the test would want to fail again, cause all the jobs passed

/override ci/prow/e2e-gcp-console

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 50d8364 into openshift:master Dec 5, 2023
6 checks passed
Copy link
Contributor

openshift-ci bot commented Dec 5, 2023

@jhadvig: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/ceph Related to ceph-storage-plugin component/core Related to console core functionality component/dashboard Related to dashboard component/dev-console Related to dev-console component/gitops Related to gitops-plugin component/helm Related to helm-plugin component/knative Related to knative-plugin component/kubevirt Related to kubevirt-plugin component/lso Related to local-storage-operator-plugin component/metal3 Related to metal3-plugin component/monitoring Related to monitoring component/network-attachment-definition Related to network-attachment-definition component/olm Related to OLM component/pipelines Related to pipelines-plugin component/sdk Related to console-plugin-sdk component/shared Related to console-shared component/topology Related to topology docs-approved Signifies that Docs has signed off on this PR jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. kind/cypress Related to Cypress e2e integration testing lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet